$brand-url:url(/static/img/spirit_lxf.svg);

body {
  background-color: #fff;
  font-family: "Hiragino Sans GB", "Microsoft YaHei", "WenQuanYi Micro Hei", sans-serif;
  var {
    font-style: normal;
  }
}

hr {
  border: none;
  border-bottom: 1px solid #ddd;
}

// 表格内容垂直居中
.table > tbody > tr {
  > th {
    vertical-align: middle;
  }
  > td {
    vertical-align: middle;
  }
}

// 留白
@mixin cleanHold {
  clear: both;
  padding-top: 0px;
  padding-bottom: 0px;
  margin-top: 0px;
  margin-bottom: 0px;
  border: none;
}

.hold10 {
  height: 10px;
  @include cleanHold;
}

.hold20 {
  height: 20px;
  @include cleanHold;
}

.hold30 {
  height: 30px;
  @include cleanHold;
}

.hold50 {
  height: 50px;
  @include cleanHold;
}

.hold70 {
  height: 70px;
  @include cleanHold;
}

.hold80 {
  height: 80px;
  @include cleanHold;
}

.hold100 {
  height: 100px;
  @include cleanHold;
}

//小屏导航
.Hj-xs-navbar {
  .Return_Arrow {
    float: left;
    font-size: 20px;
    line-height: 50px;
    padding-left: 7px;
    position: absolute;
  }
  p {
    font-size: 18px;
    line-height: 50px;
    font-weight: bolder;
  }
}

//搜索部分
.Rd-coListArea {
  position: absolute;
  top: 44%;
  height: 52px;
  padding: 0px;
  z-index: 100;
  .Rd-input {
    position: absolute;
    top: 1px;
    left: 1px;
    right: 119px;
    height: 50px;
    input {
      width: 100%;
      font-size: 16px;
      padding: 14px;
      border: none;
      background: none;
    }
    input::-webkit-input-placeholder {
      /* WebKit browsers */
      line-height: 24px;
      color: #ccc;
    }
    input:-moz-placeholder {
      /* Mozilla Firefox 4 to 18 */
      line-height: 22px;
      color: #ccc;
    }
    input::-moz-placeholder {
      /* Mozilla Firefox 19+ */
      line-height: 22px;
      color: #ccc;
    }
    input:-ms-input-placeholder {
      /* Internet Explorer 10+ */
      line-height: 24px;
      color: #ccc;
    }
    .label {
      display: block;
      position: absolute;
      right: 15px;
      top: 50%;
      line-height: 24px;
      margin-top: -12px;
      padding: 0px 10px;
      opacity: 0.3;
    }
    .label:hover {
      opacity: 1;
    }
  }
  .Rd-go {
    a {
      background: none;
      position: absolute;
      top: 1px;
      right: 0px;
      width: 120px;
      height: 50px;
      border: none;
      padding: 0px;
      margin: 0px;
      font-size: 18px;
      line-height: 50px;
    }
  }
  .Rd-quick {
    position: absolute;
    top: -36px;
    left: 0px;
    width: 100px;
    a {
      width: 100%;
      color: #fff;
      line-height: 22px;
      opacity: 0.4;
    }
    a.Rd-InternationalPay {
      position: absolute;
      top: 0px;
      left: 101px;
    }
    a:hover {
      opacity: 1;
    }
  }
  .Rd-partition {
    position: relative;
    .Rd-alert {
      width: 100%;
      line-height: 32px;
      padding: 0px 18px;
      vertical-align: middle;
      z-index: 100;
      text-align: center;
      i {
        font-size: 16px;
      }
      a {
        padding-left: 20px;
        text-decoration: underline;
      }
    }
  }
  .Rd-note {
    padding: 10px 0px;
    text-align: center;
    span:hover {
      opacity: 1;
    }
  }
  .Rd-coList {
    position: absolute;
    top: 52px;
    width: 100%;
    min-height: 35px;
    line-height: 21px;
    padding: 0px;
    z-index: 9999;
  }
}

@media (max-width: 767px) {
  .Rd-coListArea {
    top: 70px;
    height: 50px;
    width: 94%;
    .Rd-input {
      height: 48px;
      left: 1px;
      right: 54px;
    }
    .Rd-go {
      a {
        height: 48px;
        line-height: 48px;
        width: 54px;
      }
    }
    .Rd-coList {
      top: 50px;
    }
    .Rd-partition {
      .Rd-alert {
        padding: 0px 16px;
      }
    }
  }
  .Hj-host {
    padding-top: 120px;
  }
}

// 表单
.Rd-formDefault {
  background-color: #fff;
  .Rd-cont {
    background-color: #fcfcfc;
    border: 1px solid #e4e6e8;
    padding-left: 20px;
    padding-right: 20px;
    h2 {
      color: #3498db;
    }
  } // 表单项编组扩展样式
  .form-group {
    label {
      font-size: 16px;
      line-height: 24px;
    }
    .textItem {
      color: #3498db;
      line-height: 32px;
    }
    .btn {
      margin: 5px 10px 5px 0px;
    }
  } // 表单说明顶部填充
  .textDescriptionTop {
    height: 38px;
  } // 表单说明
  .textDescription {
    float: left;
    line-height: 20px;
    padding: 0px 10px;
    color: #ddd;
    margin-left: 1.4em;
    text-indent: -1.4em;
    i {
      color: #ddd;
      line-height: 20px;
    }
  }
}

// 扩展列表至多选列表
// 对应 JS 见 bootstrap.fn.js
.list-group.checkbox {
  .list-group-item {
    .icon {
      display: block;
      width: 20px;
      height: 20px;
      position: absolute;
      line-height: 23px;
      font-size: 15px;
      text-align: center;
      background-color: #ddd;
      color: #2980b9;
      border-radius: 50%;
    }
    span {
      padding: 0px 30px;
    }
    .delItem {
      display: block;
      float: right;
      width: 20px;
      height: 20px;
      line-height: 19px;
      font-size: 19px;
      padding: 0px;
      margin: 0px;
      border: none;
      background: none;
      color: #999;
      :hover {
        color: darken(#2980b9, 10%);
      }
    }
  }
  .list-group-item.active {
    .icon {
      background-color: #fff;
    }
    .icon:after {
      content: "\e665";
    }
    border: 1px solid #ddd;
  }
}

//专属客服
.Rd-orderCS {
  .Rd-cont {
    background-color: #fff;
    text-align: center;
    height: 180px;
    position: relative;
    .Rd-csInfo {
      position: absolute;
      top: 50%;
      margin-top: -60px;
      left: 50%;
      margin-left: -230px;
      .Rd-csIcon {
        position: absolute;
        width: 90px;
        height: 120px;
        overflow: hidden;
        text-align: center;
        left: 0px;
        top: 0px;
        color: #2980b9;
        .icon1 {
          position: absolute;
          width: 100%;
          font-size: 90px;
          margin-top: -15px;
        }
        .icon2 {
          position: absolute;
          width: 100%;
          font-size: 16px;
          line-height: 10px;
          margin-top: 95px;
        }
      }
      .Rd-text {
        position: absolute;
        height: 120px;
        width: 210px;
        left: 90px;
        top: 0px;
        text-align: left;
        margin: 5px 20px 0px 20px;
      }
      .Rd-QR {
        position: absolute;
        width: 120px;
        height: 120px;
        left: 340px;
        top: 0px;
        border: 1px solid #e4e6e8;
        img {
          width: 100%;
          height: 100%;
        }
      }
    }
    @media(max-width: 539px) {
      height: 300px;
      .Rd-csInfo {
        width: 250px;
        margin-top: -130px;
        margin-left: -125px;
        .Rd-csIcon {
          top: 0px;
          left: 10px;
        }
        .Rd-QR {
          top: 0px;
          left: 105px;
        }
        .Rd-text {
          top: 140px;
          left: 0px;
        }
      }
    }
  }
}

// 上传文件组件
fieldset.form-group {
  .inputFile {
    .btn {
      position: relative;
      overflow: hidden;
      margin: 0px !important;
      line-height: 21px;
      input[type="file"] {
        opacity: 0;
        filter: alpha(opacity=0); // For IE
        font-size: 100px;
        position: absolute;
        top: 0px;
        right: 0px;
        cursor: pointer;
        border-left: none;
        border-right: none;
      }
    }
    input[type="text"] {
      margin-left: 0px;
      height: 100%;
    }
  }
}
